package com.nantai.jiafang.nantaijiafang.deviceManager.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by apple on 16/8/18.
 */
public class Device implements Serializable {


    /**
     */

    private InfoBean info;
    private List<RepaireRecordBean> repaire_record;
    private List<PutRecordBean> put_record;
    private List<KeepupRecordBean> keepup_record;

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public List<RepaireRecordBean> getRepaire_record() {
        return repaire_record;
    }

    public void setRepaire_record(List<RepaireRecordBean> repaire_record) {
        this.repaire_record = repaire_record;
    }

    public List<PutRecordBean> getPut_record() {
        return put_record;
    }

    public void setPut_record(List<PutRecordBean> put_record) {
        this.put_record = put_record;
    }

    public List<KeepupRecordBean> getKeepup_record() {
        return keepup_record;
    }

    public void setKeepup_record(List<KeepupRecordBean> keepup_record) {
        this.keepup_record = keepup_record;
    }

    public static class InfoBean implements Serializable {
        /**
         * device_id : 119
         * device_name : iphone1
         * device_qrcode : 000000001313
         * status : 0
         * place_name : null
         */

        private String device_id;
        private String device_name;
        private String device_qrcode;
        private String status;
        private String place_name;

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public String getDevice_name() {
            return device_name;
        }

        public void setDevice_name(String device_name) {
            this.device_name = device_name;
        }

        public String getDevice_qrcode() {
            return device_qrcode;
        }

        public void setDevice_qrcode(String device_qrcode) {
            this.device_qrcode = device_qrcode;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPlace_name() {
            return place_name;
        }

        public void setPlace_name(String place_name) {
            this.place_name = place_name;
        }
    }

    public static class RepaireRecordBean implements Serializable {
        /**
         * begin_time : 2017-02-11 23:30:39
         * end_time : 2017-02-07 23:29:00
         * name : 周飞
         */

        private String begin_time;
        private String end_time;
        private String name;

        public String getBegin_time() {
            return begin_time;
        }

        public void setBegin_time(String begin_time) {
            this.begin_time = begin_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class PutRecordBean implements Serializable {
        /**
         * create_time : 2017-02-11 23:30:24
         * operate_type : 1
         * name : 周飞
         */

        private String create_time;
        private int operate_type;
        private String name;
        private String place_name;

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getOperate_type() {
            return operate_type;
        }

        public void setOperate_type(int operate_type) {
            this.operate_type = operate_type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPlace_name(String place_name){this.place_name=place_name;}

        public String getPlace_name(){ return this.place_name;}
    }

    public static class KeepupRecordBean implements Serializable {
        /**
         * create_time : 2017-02-11 23:30:52
         * name : 周飞
         */

        private String create_time;
        private String name;

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
